The man with the hat is the captain of the ship. The other man is a passenger. The passenger says that he lost his ticket and he is very frustrated and upset. The captain is trying to get more information out of him before he allows him to board; the captain is trying to be accommodating but is a little annoyed that the man is reluctant to give him the information. Finally, the passenger searches his luggage and jacket upon request of the captain and finds his ticket. The captain allows him to board and everything is fine. 
